package cn.shop.cloud.web.msg;


import cn.shop.cloud.common.CodeMsg;

/**
 * @program: work
 * @ClassName SeckillCodeMsg
 * @description:
 * @author: 李尧坤
 * @create: 2025−01-08 20:43
 * @Version 1.0
 **/

public class SeckillCodeMsg extends CodeMsg {
    public SeckillCodeMsg(Integer code, String msg) {
        super(code, msg);
    }
    public static final SeckillCodeMsg PRODUCT_SERVER_ERROR =
            new SeckillCodeMsg(500010,"商品微服务繁忙");
    public static  final SeckillCodeMsg LOGIN_TIMEOUT=
            new SeckillCodeMsg(500011,"登录信息过期了");
    public static  final SeckillCodeMsg OP_ERROR=
            new SeckillCodeMsg(500012,"非法操作");
    public static  final SeckillCodeMsg SECKILL_OVER= new SeckillCodeMsg(500013,"秒杀结束了！");
    public static  final SeckillCodeMsg SECKILL_NOTBEGIN_OKOVER= new SeckillCodeMsg(500014,"不在秒杀时间段！！");
    public static  final SeckillCodeMsg REPEAT_SECKILL= new SeckillCodeMsg(500015,"您已经参与过秒杀了！");
    public static  final SeckillCodeMsg PRODUCT_CODE_MSG_ERROR= new SeckillCodeMsg(500016,"商品下单失败！");
    public static  final SeckillCodeMsg CANCEL_ORDER_ERROR= new SeckillCodeMsg(500017,"超时未支付！");
    public static  final SeckillCodeMsg CANCEL_STOCKOVER_ERROR= new SeckillCodeMsg(500018,"超时未支付！");

}
